From: Platonides Date: Sun, 6 May 2012 20:31:03 +0000 (+0200) Subject: Make backupTestPass.inc require_once by itself its dependence on backup.inc X-Git-Tag: 1.31.0-rc.0~23684^2 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=f77bd54df394fcc2a679d03bc0b39f3cde28528a;p=lhc%2Fweb%2Fwiklou.git Make backupTestPass.inc require_once by itself its dependence on backup.inc Change path-less requires to full path ones. Change-Id: Ida37a3ec9bb1d5c99f4bbbf6d967cb40d0442e38 --- diff --git a/maintenance/backupTextPass.inc b/maintenance/backupTextPass.inc index 11f0cd5073..27753bdd22 100644 --- a/maintenance/backupTextPass.inc +++ b/maintenance/backupTextPass.inc @@ -24,6 +24,7 @@ * @ingroup Maintenance */ +require_once( dirname( __FILE__ ) . '/backup.inc' ); /** * @ingroup Maintenance diff --git a/maintenance/dumpBackup.php b/maintenance/dumpBackup.php index e05f43ce3e..463846872b 100644 --- a/maintenance/dumpBackup.php +++ b/maintenance/dumpBackup.php @@ -30,7 +30,7 @@ $originalDir = getcwd(); $optionsWithArgs = array( 'pagelist', 'start', 'end', 'revstart', 'revend'); require_once( dirname( __FILE__ ) . '/commandLine.inc' ); -require_once( 'backup.inc' ); +require_once( dirname( __FILE__ ) . '/backup.inc' ); $dumper = new BackupDumper( $argv ); diff --git a/maintenance/dumpTextPass.php b/maintenance/dumpTextPass.php index 7a5a5f6de3..41a7a68743 100644 --- a/maintenance/dumpTextPass.php +++ b/maintenance/dumpTextPass.php @@ -27,8 +27,7 @@ $originalDir = getcwd(); require_once( dirname( __FILE__ ) . '/commandLine.inc' ); -require_once( 'backup.inc' ); -require_once( 'backupTextPass.inc' ); +require_once( dirname( __FILE__ ) . '/backupTextPass.inc' ); $dumper = new TextPassDumper( $argv );